<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加活动</title>
    <link rel="stylesheet" href="/static/css/font.css">
    <link rel="stylesheet" href="/static/css/index.css">
    <script src="/static/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/static/js/index.js"></script>
    <script type="text/javascript" src="/static/js/jquery.js"></script>


</head>
<body>

<div class="layui-card">
    <form class="layui-form layui-form-pane" action="" id="add">
        <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
            <ul class="layui-tab-title">
                <li class="layui-this">基本信息</li>
            </ul>

            <input type="hidden" id="id" th:value="${activity?.activityId}">
            <div class="layui-tab-content" >
                <div class="layui-tab-item layui-show">
                    <div class="layui-form-item">
                        <label class="layui-form-label">
                            <span class='x-red'>*</span>活动主题
                        </label>
                        <div class="layui-input-block">
                            <input type="text"   autocomplete="off" id="activityTitle" placeholder="活动主题"
                                   class="layui-input"  th:value="${activity?.activityTitle}" readonly>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">
                            <span class='x-red'>*</span>开始日期
                        </label>
                        <div class="layui-inline layui-show-xs-block">
                            <input class="layui-input" type="date" readonly  autocomplete="off" placeholder="开始日" id="start" th:value="${activity?.activityStartTime}">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">
                            <span class='x-red'>*</span>结束日期
                        </label>
                        <div class="layui-inline layui-show-xs-block">
                            <input class="layui-input" type="date"  readonly autocomplete="off" placeholder="结束日" id="end" th:value="${activity?.activityEndTime}">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">
                            <span class='x-red'>*</span>活动地点
                        </label>
                        <div class="layui-input-block">
                            <input type="text" id="activityAddress" readonly autocomplete="off" placeholder="活动地点" th:value="${activity?.activityAddress}"
                                   class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">
                            <span class='x-red'>*</span>活动人数
                        </label>
                        <div class="layui-input-block">
                            <input type="text" id="activityNumber" readonly autocomplete="off" placeholder="每次最多1000人" th:value="${activity?.activityNumber}"
                                   class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">
                            <span class='x-red'>*</span>活动费用
                        </label>
                        <div class="layui-input-block">
                            <input type="text" id="activityFee" readonly autocomplete="off" placeholder="每次最多1万元" th:value="${activity?.activityFee}"
                                   class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item  layui-form-text">
                        <label  class="layui-form-label">
                            <span class="x-red">*</span>活动内容
                        </label>
                        <div class="layui-input-block">
                            <textarea   id="content"  class="layui-textarea" readonly th:text="${activity?.activityContent}"></textarea>
                        </div>
                    </div>
                    <!--</form>-->
                    <div style="height:100px;"></div>
                </div>
            </div>

        </div>
    </form>
</div>

<script type="text/javascript">

</script>
</body>
</html>